package com.idea.cery.springboot1.service;

import java.util.concurrent.Future;

/**
 * @Author:cery
 * @Version 1.0
 * @Date:2020/4/9
 */

/**
 * 异步任务
 */
public interface AsyncService {
    Future<String> doTask1() throws Exception;

    Future<String> doTask2() throws Exception;

    Future<String> doTask3() throws Exception;
}
